package com.xb.loan.fund.service.constant;

public interface FundConst {

	/**未对账*/
	final int CheckAccountStatus_Wait = 0;
	/**相符*/
	final int CheckAccountStatus_OK = 1;
	/**错账（状态不一致：A成功、B失败；A失败、B成功；A未处理、B成功或失败）*/
	final int CheckAccountStatus_Error = 2;
	/**多账*/
	final int CheckAccountStatus_More = 3;
	/**少账*/
	final int CheckAccountStatus_Less = 4;
	
	/**未对账*/
	final int CheckAccountResult_Wait = 0;
	/**账平*/
	final int CheckAccountResult_Good = 1;
	/**账不平*/
	final int CheckAccountResult_Bad = 2;
	
	/**充值*/
	final int FundType_Charge = 0;
	/**提现*/
	final int FundType_Encash = 1;
	/**线下充值*/
	final int FundType_ChargeManual = 2;
	
	/**充值状态：待处理*/
	final int ChargeStatus_Wait = 0;
	/**充值状态：成功*/
	final int ChargeStatus_Success = 1;
	/**充值状态：失败*/
	final int ChargeStatus_Fail = 2;
	
	/**提现状态：待审核*/
	final int EncashStatus_WaitApprove = 0;
	/**提现状态：审核失败*/
	final int EncashStatus_ApproveFail = 1;
	/**提现状态：待处理*/
	final int EncashStatus_Wait = 2;
	/**提现状态：处理中*/
	final int EncashStatus_Handling = 3;
	/**提现状态：成功*/
	final int EncashStatus_Success = 4;
	/**提现状态：失败*/
	final int EncashStatus_Fail = 5;
	
	/**转账类型：代充值*/
	final int TransferType_ProxyCharge = 0;
	/**转账类型：代提现*/
	final int TransferType_ProxyEncash = 1;
	
	/**转账状态：成功*/
	final int TransferStatus_Success = 1;
	/**转账状态：失败*/
	final int TransferStatus_Fail = 2;
	
	/**在线支付通知状态：等待通知*/
	final int InformPurchase_Wait = 0;
	/**在线支付通知状态：通知完成*/
	final int InformPurchase_Done = 1;
	
	/**线下充值状态：待处理*/
	final int ChargeManualStatus_Wait = 0;
	/**线下充值状态：成功*/
	final int ChargeManualStatus_Success = 1;
	/**线下充值状态：失败*/
	final int ChargeManualStatus_Fail = 2;
	
	/**审核结果：成功*/
	final int Approve_Success = 0;
	/**审核结果：失败*/
	final int Approve_Fail = 1;
	
	/**验签失败类型：远端数据校验错误*/
	final int VerifyErrorType_CASHIERERROR = 0;
	/**验签失败类型：本地数据校验错误*/
	final int VerifyErrorType_LOCALERROR = 1;
	/**验签失败类型：远端与本地数据不一致*/
	final int VerifyErrorType_DATADIFFER = 2;
	
	/**验签失败状态：待处理*/
	final int VerifyErrorStatus_Wait = 0;
	/**验签失败状态：已处理*/
	final int VerifyErrorStatus_Handle = 1;
	
	/**支付机构：中国银行*/
	final int PayOrg_BOC = 1000;
	/**支付机构：中国农业银行-*/
	final int PayOrg_ABC = 1001;
	/**支付机构：中国工商银行*/
	final int PayOrg_ICBC = 1002;
	/**支付机构：中国建设银行*/
	final int PayOrg_CCB = 1003;
	/**支付机构：支付宝*/
	final int PayOrg_Alipay = 2001;
	/**支付机构：微信*/
	final int PayOrg_Weixin = 2002;
	
	/**用户资金控制状态*/
	final int ThresholdStaus_Wait = 0;
	/**用户资金控制状态*/
	final int ThresholdStaus_Success = 1;
	/**用户资金控制状态*/
	final int ThresholdStaus_Fail = 2;
	
	// 手工缴款（渠道）
	final int Partner_manualCharge = 1;
	// 赔款（彩民用户）
	final int User_manualCharge = 2;
	
	final String Cashier_Cert = "cashier";
	
	/** 加密字段连接符号 */
	final String Encrypt_Field_Splitter = "&";
	/** 对账字段连接符号 */
	final String Account_Field_Splitter = "|";
	
	/** Redis生成主键序列：名称 */
	final String PriKey_Name = "fund";
	/** Redis生成主键序列：每秒内10000条 */
	final int PriKey_Length = 4;
}